<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html>
<script>
    window.onload = function () {
        console.log(navigator.appCodeName);
        console.log(navigator.appName);
        console.log(navigator.appVersion);
        console.log(navigator.product);
        console.log(screen.availHeight);
        console.log(screen.availWidth);
    }
</script>